﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BGCMS.Models.AppointmentLog>" %>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
        
       

            <div class="editor-field">
                <%: Html.HiddenFor(model => model.ChildID) %>
                <%: Html.ValidationMessageFor(model => model.ChildID) %>
            </div>
            
            <div class="editor-label">
                <label for="datetimepicker">Tímasetning</label>
            </div>
            <div class="editor-field">
                <input type="text" id="datetimepicker" name="datetimepicker" value="<%: Model.AppointmentTime.ToString("dd/MM/yyyy H:mm") %>" readonly="readonly"/>
            </div>
            
            <div class="editor-label">
                <label for = "TextBody">Athugasemd</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.TextBody) %>
                <%: Html.ValidationMessageFor(model => model.TextBody) %>
            </div>
            
            <p>
                <input type="submit" value="Skrá" />
            </p>
       

    <% } %>

  


